package com.manage.competition.service;

import com.manage.competition.entity.CompetitionScore;

import java.util.List;

/**
 * Create with IDEA
 *
 * @Author: gitee.com/KamisamaXX
 * @Date: Create in 22:24 2019/4/10
 * @Description:
 */
public interface ICompetitionScoreService {

    CompetitionScore findByQuestionIdAndUserIdAndTeacherId(Long questionId, Long userId, Long teacherId);

    int update(CompetitionScore competitionScore);

    int insert(CompetitionScore competitionScore);

    int countScore(Long id, List<String> teachers,Long competitionId);

    int score(Long teacherId,Long userId,Long competitionId);

    List<CompetitionScore> findByUserIdAndCompetitionId(Long userId,Long competitionId,Long question);
}
